import { Module, Global } from '@nestjs/common';
import { ToolsService } from './tools/tools.service';
import { InitDbService } from './init-db/init-db.service';
import { LoginService } from './admin/login/login.service';
import { AccountService } from './admin/system/account/account.service';

const serviceList = [
  ToolsService,
  LoginService,
  AccountService,
];

@Global()
@Module({
  imports: [],
  providers: [
    ...serviceList,
    InitDbService,
  ],
  exports: [
    ...serviceList,
  ]
})
export class ServicesModule { }
